const getters = {
    userName: state => state.user.name,
    token: state => state.user.token,
    roles: roles => state.user.roles,
};

export default getters;
